package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.FacadeDeviceOperateInfo;

import java.util.List;
import java.util.Map;

/**
 * 设备操作记录mapper
 * Created by yangcs on 2017/2/23.
 */
public interface FacadeDeviceOperateInfoMapper {
    /**
     * 根据设备id查询操作记录
     * @param deviceId
     * @return
     */
    List<FacadeDeviceOperateInfo> queryByDeviceId(String deviceId);

    /**
     * 根据设备id查询上报异常
     * @param deviceId
     * @return
     */
    List<FacadeDeviceOperateInfo> getByDeviceId(String deviceId);

    /**
     * 根据组织id查询受控列表
     * @param map
     * @return
     */
    List<FacadeDeviceOperateInfo> queryListByOrgId(Map map);
}
